package com.itcast.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itcast.pojo.Address;
import org.springframework.stereotype.Service;

import javax.xml.bind.ValidationException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-06-19
 */
@Service("addressService")
public interface Addressservice extends IService<Address> {
    int updateAddres(Map<String,String> map) throws ValidationException;
    Address getAddresByUserId(Integer userId);

}
